package com.travel.server.manager.dto.response.order.data;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/7 15:46
 * @Desc:
 */
@Data
public class QueryOrderDataResponse {
    private String visit;

    @JSONField(name = "visit_compare")
    private String visitCompare;

    private String order;

    @JSONField(name = "order_compare")
    private String orderCompare;

    @JSONField(name = "pay_num")
    private String payNum;

    @JSONField(name = "pay_num_compare")
    private String payNumCompare;

    @JSONField(name = "pay_amount")
    private String payAmount;

    @JSONField(name = "pay_amount_compare")
    private String payAmountCompare;

    @JSONField(name = "apply_num")
    private String applyNum;

    @JSONField(name = "apply_num_compare")
    private String applyNumCompare;

    @JSONField(name = "pay_all_num")
    private String payAllNum;

    @JSONField(name = "pay_all_num_compare")
    private String payAllNumCompare;

    @JSONField(name = "visit_order")
    private String visitOrder;

    @JSONField(name = "visit_pay")
    private String visitPay;

    @JSONField(name = "order_pay")
    private String orderPay;

    @JSONField(name = "project_visit_apply")
    private String projectVisitApply;

    @JSONField(name = "apply_pay_all")
    private String applyPayAll;

    @JSONField(name = "pay_data_list")
    private List<PayDataItem> payDataList;

    @Data
    public static class PayDataItem{

        @JSONField(format = "yyyy-MM-dd")
        private Date date;

        @JSONField(name = "pay_num")
        private String payNum;

        @JSONField(name = "pay_amount")
        private String payAmount;
    }
}
